{include file="common/html" /}
    <title>{php} echo config('menu.clan_activity') {/php} - {php} echo config('app.app_name') {/php}</title>
{include file="common/head" /}
{include file="common/top_left" /}
{include file="common/top_right" /}
{include file="common/left_menu" /}
    </div>
    </div>
    <div class="main-panel" style="overflow-x: hidden;">
    <div class="content">
    <div class="container-fluid">
        <h4 class="page-title" style="font-weight: 500;">{php} echo config('menu.clan_activity') {/php}</h4>
        <div class="card">
            <div class="card-header">
                <div class="card-title">
                    <a href="/sendClanActivity" class="btn btn-danger">
                        我有话要说
                    </a>
                </div>
            </div>
            <div class="card-body">
                <table class="table table-hover table-responsive" style="text-align: center;">
                    <thead>
                    <tr>
                        <th scope="col" width="10%">游戏 ID</th>
                        <th scope="col" width="80%">标题</th>
                        <th scope="col" width="10%">有效期</th>
                    </tr>
                    </thead>
                    <tbody>
                    {volist name='clan_list' id='v'}
                        <tr>
                            <td>
                                <b>
                                    <a href="/userFile/{php}echo base64_encode($v['uid']['id']){/php}" title="点击查看此用户信息" style="color: black;">
                                        {$v.uid.game_id}
                                    </a>
                                </b>
                            </td>
                            <td>
                                <a href="/activity/{php}echo base64_encode($v['id']){/php}" title="点击查看详情！">
                                    {$v.title}
                                </a>
                            </td>
                            <td>
                                {$v.activity_time}
                            </td>
                        </tr>
                    {/volist}
                    </tbody>
                </table>
                <div id="page_list" class="table-responsive">
                    {$clan_list|raw}
                </div>
                <style>
                    div#page_list li span{
                        border-radius: 100px !important;
                        margin: 0 2px;
                        color: #777777;
                        border-color: #ddd;
                        position: relative;
                        display: block;
                        padding: .5rem .75rem;
                        line-height: 1.25;
                        background-color: #fff;
                        border: 1px solid #dee2e6;
                    }
                    div#page_list li a{
                        border-radius: 100px !important;
                        margin: 0 2px;
                        color: #777777;
                        border-color: #ddd;
                        position: relative;
                        display: block;
                        padding: .5rem .75rem;
                        line-height: 1.25;
                        background-color: #fff;
                        border: 1px solid #dee2e6;
                    }
                    div#page_list .active span{
                        background: #1D62F0;
                        border-color: #1D62F0;
                        color: #ffffff;
                    }
                </style>
            </div>
        </div>
    </div>
    </div>
{include file="common/footer" /}